import { createStore } from 'redux';
import { composeWithDevTools } from 'redux-devtools-extension/developmentOnly';
import home from './reducers/home'
const combined = (state = {}, action) => {
  return {
    home: home(state?.home, action),
  };
}

const createNextStore = (init) => createStore(combined, init, composeWithDevTools());

export default createNextStore
